package com.lagou.dao;

import com.lagou.pojo.User;
import org.dom4j.DocumentException;

import java.beans.PropertyVetoException;
import java.util.List;

public interface IUserDao {

    //查询所有用户
    List<User> findAll() throws Exception;


    //根据条件就行用户查询
    User findByCondition(User user) throws Exception;

    Integer insert(User user) throws Exception;

    Integer update(User user) throws Exception;

    Integer delete(User user) throws Exception;




}
